<div class="page page-password">
  <div class="step-wrap">
    <table>
      <tr>
        <td ng-class="{active: step==1}" ng-click="step=1">1 输入账号</td>
        <td class="arrow">></td>
        <td ng-class="{active: step==2}">2 验证身份</td>
        <td class="arrow">></td>
        <td ng-class="{active: step==3}">3 设置新密码</td>
        <td  class="arrow">></td>
        <td ng-class="{active: step==4}">4 完成</td>
      </tr>
    </table>
  </div> 

  <div class="content-wrap">
    <div class="step1" ng-show="step==1">
      <div class="form-group form-group-inline telephone">
        <label class="label">账户名</label>
        <input type="text" name="telephone" class="bhz-input form-control input-telephone" ng-model="info.telephone" placeholder="已验证手机号">
      </div>

      <div class="btn-wrap">
        <a href="javascript:void(0);" class="btn btn-next" ng-click="checkMobile()">下一步</a>
      </div>
    </div>

    <div class="step2" ng-show="step==2">
      <div class="phonetext">您的手机号：{{info.telephone}}</div>
      <div class="form-group form-group-inline smscode">
        <label class="label">短信验证码</label>
        <input type="text" name="smscode" class="bhz-input form-control input-smscode" ng-model="info.sms_code" placeholder="请输入验证码">
      </div>

      <div class="btn-wrap btn-inline btn-sms">
        <a href="javascript:void(0);" class="btn" ng-class="{'disabled': wating}" ng-click="getSMS();"><span ng-show="!wating">获取短信验证码</span><span ng-show="wating"><span class="counting"></span>秒后重新发送</span></a>
      </div>

      <div class="btn-wrap">
        <a href="javascript:void(0);" class="btn btn-next" ng-click="verifySMS();">下一步</a>
      </div>
    </div>

    <div class="step3" ng-show="step==3">
      <div class="form-group form-group-inline password">
        <label class="label">新密码</label>
        <input type="password" name="password" class="bhz-input form-control input-password" ng-model="info.password" placeholder="请输入新密码">
        <div class="instruction">*请设置6-20位登录密码。</div>
      </div>

      <div class="btn-wrap">
        <a href="javascript:void(0);" class="btn btn-next" ng-click="updatePassword();">完成</a>
      </div>
    </div>

  </div>
</div>